.auto-complete {
  position: relative;
  ul {
    margin: 0;
    padding: 0;
  }

  .input-wrapper {
    margin-bottom: 0;
  }
}

.auto-complete-labels {
  display: inline-block;
  line-height: 28px;
  padding: 0 5px;
  white-space: nowrap;
  overflow-x: scroll;
  // overflow: hidden;
  // text-overflow: ellipsis;
  // display: -webkit-box;
  // -webkit-box-orient: vertical; // 垂直居中
  // -webkit-line-clamp: 1; // 超出n行隐藏

  span {
    font-size: 12px;
    line-height: 22px;
    margin-right: 12px;
    cursor: pointer;
  }
}

/* 设置滚动条的样式 */
.auto-complete-labels::-webkit-scrollbar {
  display: none;
  width: 2px;
  height: 2px;
}

/* 滚动槽 */
.auto-complete-labels::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* 滚动条滑块 */
.auto-complete-labels::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.auto-complete-labels::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 0, 0, 0.4);
}

.dropdown-area {
  padding-left: 0;
  white-space: nowrap;
  position: absolute;
  background: $white;
  z-index: 100;
  // top: calc(100% + 0.5px);
  left: 0;
  border: $menu-border-width solid $menu-border-color;
  box-shadow: $submenu-box-shadow;
  width: 100%;

  .suggstions-loading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75px;
  }

  .dropdown-item {
    list-style:none;
    padding: $menu-item-padding-y $menu-item-padding-x;
    cursor: pointer;
    transition: $menu-transition;
    color: $body-color;
    &.is-active {
      background: $menu-item-active-color !important;
      color: $white !important;
    }
    &:hover {
      color: $menu-item-active-color !important;
      background: $gray-100 !important;
    }
  }
}